package de.ur.iw.wiki.weighters;

import de.ur.iw.wiki.Link;
import de.ur.iw.wiki.Settings;

public class TomsWeighter extends BasicWeighter {

	@Override
	public void weight(Link l) {
		
		Settings.setKey(Settings.KEY_WEIGHT_OF_FIRST_LINKS, .33);
		Settings.setKey(Settings.KEY_WEIGHT_OF_MIDDLE_LINKS, .66);
		Settings.setKey(Settings.KEY_WEIGHT_OF_LAST_LINKS, 1);
		
		Settings.setKey(Settings.KEY_WEIGHT_OF_FIRST_PARAGRAPHS, .33);
		Settings.setKey(Settings.KEY_WEIGHT_OF_MIDDLE_PARAGRAPHS, .66);
		Settings.setKey(Settings.KEY_WEIGHT_OF_LAST_PARAGRAPHS, 1);
		
		super.weight(l);	
	}
	
}
